﻿using DSTMEETING.Data;
using DSTMEETING.Web.Api.Contracts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;

namespace DSTMEETING.Web.Api
{
    public class UserController : ApiController
    {
        [HttpPost]
        public ApiResult<UserLoginResult> Login(UserLoginParameter parameter)
        {
            var result = new UserLoginResult();
            result.Account = parameter.Account;
            result.UserName = parameter.Account;
            return new ApiResult<UserLoginResult>(result);
        }
    }
}
